﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang='zh-CN'>
<head>
    <title>会员注册第一步</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="description" content="" />
    <meta name="keywords" content="会员注册" />
    <link rel="stylesheet" href="/css/public_1.css"/>
    <link rel="stylesheet" href="/css/mb_css.css"/>
    <script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/js/cookie.js"></script>
    <script type="text/javascript" src="/js/dialog.js"></script>

    <link href="/css/dialog_simp.css" rel="stylesheet" type="text/css" />
    <link href="/css/style_1.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/js/validform_v5.3.2.js" ></script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?31ca8c51b19a606d6547712c451c0a3c";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
    <style>
        .aui_buttons{ display:none;}
        .aui_state_highlight{ display: none;}
    </style>
</head>
<body>
  <div class="header">
      <div class="headerIn">
          <div class="logo">
              <a href="#"><img src="/picture/logo.jpg" border="0" alt=""/></a>
              <div class="logoR">会员注册</div>
          </div>
          <div class="headerInR">
              <div class="headerInRT"><a href="/index/index/index" target="_blank">律教网首页</a></div>
              <div>注册会员过程中有任何问题，请拨打客服电话：0531-68621058</div>
          </div>
      </div>
  </div>
  <div class="mainbody">
      <div class="mainbodyIn">
          <div class="awardWords">尊敬的用户您好 ，欢迎您注册律教网，律教网将为您提供快速便捷的服务！</div>
          <div class="mianContaint clearfix">
              <div class="mianContaintL">
                  <div class="selectClass">请选择您要注册的<span>会员类型</span>！</div>
                  <div class="classItem clearfix">
                      <a href="/index/login/gongzhong" > <img src="/picture/mb_pic1.jpg" border="0" alt=""/></a>
                      <div class="classItemTex">
                          <a href="/index/login/gongzhong" >公众注册</a>
                          如果您是公众，请点击
                      </div>
                  </div>
                  <div class="classItem clearfix">
                      <a href="/index/login/lvshi" > <img src="/picture/mb_pic2.jpg" border="0" alt=""/></a>
                      <div class="classItemTex">
                          <a href="/index/login/lvshi" >律师注册</a>
                          如果您是律师，请点击
                      </div>
                  </div>
              </div>
              <div class="mianContaintR">
                  <div class="rText">已有律教网帐号？请选择<a href="" target="_blank">直接登录</a></div>
                <form  class="registerform" method="post" action="/index/login/doLogin"  id="myform" name="myform">
                <input id="forward" type="hidden" value="" name="forward">
                  <div class="formBox">
                      <div class="rg_formBoxItem">
                          <span class="leftS">用户名:</span>
                          <input type="text" type="text" id="username" name="username" datatype="u4-17" nullmsg="请输入用户名！" errormsg="用户名至少4个字符,最多17个字符！"/>
                      </div>
                      <div class="rg_formBoxItem">
                          <span class="leftS" style="width: 49px; display: inline-block">密<span style="padding-left: 12px;">码:</span></span>
                          <input type="password" id="password" name="password" datatype="*6-16" nullmsg="请输入密码！" errormsg="密码范围在6~16位之间！" />
                      </div>
                      <div id="errmsg" style="font-size: 12px; color: red; height:20px; padding-left: 55px;"></div>
                      <div class="clearfix">
                          <div class="formBtnTT left" style="padding-top: 10px;">
                              <input  value="登&nbsp;录" type="submit" name="dosubmit" id="dosubmit">
                          </div>
                          <div class="checkboxT left" style="padding-top: 16px;">
                              <input type="checkbox" name="cookietime" value="2592000" id="cookietime">保持登录状态<a target="_blank" href="">忘记密码？</a>
                          </div>
                      </div>
                  </div>
                </form>
              </div>

          </div>
      </div>
  </div>
  <script language="JavaScript">
      <!--
      $(function(){
          //$('#username').focus();
      })

      function save_username() {
          if($('#cookietime').attr('checked')==true) {
              var username = $('#username').val();
              setcookie('username', username, 3);
          } else {
              delcookie('username');
          }
      }
      var username = getcookie('username');
      if(username != '' && username != null) {
          $('#username').val(username);
          $('#cookietime').attr('checked',true);
      }

      function show_login(site) {
          if(site == 'sina') {
              art.dialog({lock:false,title:'用新浪账号登录',id:'protocoliframe', iframe:'http://www.9ask.cn/index.php?m=member&c=index&a=public_sina_login',width:'500',height:'310',yesText:'关闭'}, function(){
              });
          } else if(site == 'snda') {
              art.dialog({lock:false,title:'用盛大连接登录',id:'protocoliframe', iframe:'http://www.9ask.cn/index.php?m=member&c=index&a=public_snda_login',width:'500',height:'310',yesText:'关闭'}, function(){
              });
          } else if(site == 'qq') {
              art.dialog({lock:false,title:'用腾讯微博帐号登录',id:'protocoliframe', iframe:'http://www.9ask.cn/index.php?m=member&c=index&a=public_qq_login',width:'500',height:'310',yesText:'关闭'}, function(){
              });
          }else if(site == 'weixin') {
              art.dialog({lock:false,title:'微信登陆',id:'protocoliframe', iframe:'http://www.9ask.cn/index.php?m=member&c=index&a=public_weixin_login',width:'500',height:'310',yesText:'关闭'}, function(){
              });
          }
      }
      //-->
  </script>
  <script type="text/javascript">
      $(function(){
          $(".registerform").Validform({
              postonce:true,
              tiptype:function(msg,o,cssctl){
                  if(o.type==3){
                      $("#errmsg").html('×'+msg);
                      o.obj.focus();
                  }else{
                      $("#errmsg").html('');
                  }
              },
              //增加用户的规则
              datatype:{
                  "u4-17" : /^[a-zA-Z0-9_]{4,17}$/
              }
          });
      })
  </script>
</body>
</html>